def add(x,y):
    s = x+y
    return s

i = 0

x = 10
y = 20
i = add(x,y)
print(x)
print(y)
print(i)

# 不定长参数
def my_variable(*params):
    for p in params:
        print(p)

# 匿名函数
my_sub = lambda x, y: x - y
print(my_sub(3, 1))